# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-fbneo
pkgver=0_git20200407
pkgrel=0
_commit="70577c1018ea953ac7fe7cc82cf2e4681d71314e"
pkgdesc="FinalBurn Neo, an Emulator for Arcade Games & Select Consoles"
url="https://github.com/libretro/FBNeo"
arch="all !mips !mips64" # fails to build on mips
license="custom"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/FBNeo/archive/$_commit.tar.gz"
builddir="$srcdir/FBNeo-$_commit"
options="!check" # No tests

build() {
	make -C src/burner/libretro
}

package() {
	install -Dm644 src/burner/libretro/fbneo_libretro.so "$pkgdir"/usr/lib/libretro/fbneo_libretro.so
}

sha512sums="70f1d810a5d5163e8980d74b72c9cd49ba1140d2e8670cad7f81a0f4ae1b532c638caf671016f9603386c908be05a1b22441261b2b704816bb30a9ce9f604c18  libretro-fbneo-70577c1018ea953ac7fe7cc82cf2e4681d71314e.tar.gz"
